﻿using System;
using System.Collections.Generic;

namespace DataTier
{
    //Mark, Dennis
    public class Movie : IMovie
    {
        public string MovieTitle { get; set; }
        public int MovieDuration { get; set; }
        public List<string> MovieActors { get; set; }
        public List<string> MovieImages { get; set; }
        public List<string> MovieDirectors { get; set; }
        public int MovieID { get; set; }
        public DateTime MovieReleaseDate { get; set; }
        public string MovieDescriptionShort { get; set; }
        public string MovieDescriptionLong { get; set; }

        public Movie(string movieTitle, int movieDuration, List<string> movieActors, List<string> movieImages, List<string> movieDirectors, int movieID,
            DateTime movieReleaseDate, string movieDescriptionShort, string movieDescriptionLong)
        {
            this.MovieTitle = movieTitle;
            this.MovieDuration = movieDuration;
            this.MovieActors = movieActors;
            this.MovieImages = movieImages;
            this.MovieDirectors = movieDirectors;
            this.MovieID = movieID;
            this.MovieReleaseDate = movieReleaseDate;
            this.MovieDescriptionShort = movieDescriptionShort;
            this.MovieDescriptionLong = movieDescriptionLong;
        }

        public void AddMovieActor(string movieActor)
        {
            MovieActors.Add(movieActor);
        }

        public void AddMovieImages(string movieImage)
        {
            MovieImages.Add(movieImage);
        }

        public void AddMovieDirectors(string movieDirector)
        {
            MovieDirectors.Add(movieDirector);
        }
    }
};
